﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="PackageProductSNExport.aspx.cs" Inherits="ViewbyProduct_ZTEElectronicsList_PackageProductSNExport"
    Title="无标题页" %>

<%@ Register Assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div style="text-align: center; height: 638px;">
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <div style="text-align: center; clear: both; width: 60%; margin: 0 auto;">
            <table style="text-align: center; clear: both; height: 307px; width: 100%; border: 1px solid Black;
                margin: 0 auto;">
                <tr>
                    <td style="height: 100%; width: 60%;">
                        成品序列号列表：<br />
                        <br />
                        <asp:ListBox ID="ListBox1" runat="server" Height="212px" Width="284px" SelectionMode="Multiple">
                        </asp:ListBox>
                        <br />
                        共<asp:Label ID="Label1" runat="server" Text="0" ForeColor="Red"></asp:Label>个成品
                    </td>
                    <td style="height: 100%; width: 20%;">
                        <asp:Button ID="Button5" runat="server" Text="清空" OnClick="Button3_Click" />
                        <br />
                        <br />
                        <asp:Button ID="Button6" runat="server" OnClick="Button5_Click" Text="粘帖" />
                    </td>
                    <td style="height: 100%; width: 20%;">
                        <asp:Button ID="Button8" runat="server" OnClick="Button6_Click" Text="批量导出报表" ValidationGroup="VGroup2" />
                        <br />
                        <br />
                    </td>
                </tr>
            </table>
        </div>
        <input id="myVal" runat="server" type="hidden" />
    </div>
    <%--此功能在IE中可用，在Chrome中不可用--%>

    <script type="text/javascript">
        function PasteData() {
            var str = clipboardData.getData('text');
            //document.getElementById("ctl00_ContentPlaceHolder1_myVal").value = str;
            document.getElementById("<%=myVal.ClientID%>").value = str;
        }
    </script>

</asp:Content>
